/** When your routing table is too long, you can split it into small modules**/

// import Layout from '@/views/layout/Layout';

// const authorityRouter = {
//     path: '/authority',
//     component: Layout,
//     redirect: 'noredirect',
//     name: 'authority',
//     meta: {
//         title: '权限设置',
//         icon: 'chart'
//     },
//     children: [
//         {
//             path: 'roleList',
//             component: () => import('@/views/authority/roleList'),
//             name: 'roleList',
//             meta: { title: '角色管理', noCache: true }
//         }, {
//             path: 'managerList',
//             component: () => import('@/views/authority/managerList'),
//             name: 'managerList',
//             meta: { title: '管理员管理', noCache: true }
//         }, {
//             path: 'menuList',
//             component: () => import('@/views/authority/menuList'),
//             name: 'menuList',
//             meta: { title: '菜单管理', noCache: true }
//         }
//     ]
// };

const authorityRouter = {
    '@/views/authority/roleList': () => import('@/views/authority/roleList'),
    '@/views/authority/managerList': () => import('@/views/authority/managerList'),
    '@/views/authority/menuList': () => import('@/views/authority/menuList')
};

export default authorityRouter;
